package com.cskaoyan.component;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import javax.sql.DataSource;

/**
 * 成员变量取出组件
 * @author stone
 * @date 2022/12/20 15:55
 */
@Component
public class Component4 {
    @Autowired
    @Qualifier("dataSource2")
    DataSource dataSource;
}
